<include file="Public:header1" />
<div id="content">
        <div class="container-fluid">
          <div class="row-fluid">
            <div class="span12">
              <div class="widget-box">
                <div class="widget-title">
                  <span class="icon"><i class="icon-th"></i></span>
                  <h5>添加维修记录</h5>
                </div>
                <div class="widget-content nopadding">
                  <form action="/User/service_do" method="POST" id="turntable_form" class="form-horizontal">
                                      <div class="control-group">
                                          <label class="control-label">型号以及处理问题</label>
                                          <div class="controls">
                                              <input type="text" require name="version" value="">
                                              <span class="help-inline"></span>
                                          </div>
                                      </div>
                                      <div class="control-group">
                                          <label class="control-label">联系方式</label>
                                          <div class="controls">
                                              <input type="text" require name="phonenum" value="">
                                              <span class="help-inline"></span>
                                          </div>
                                      </div>
                                      <div class="control-group">
                                          <label class="control-label">姓名</label>
                                          <div class="controls">
                                              <input type="text" require name="clientname" value="">
                                              <span class="help-inline"></span>
                                          </div>
                                      </div>
                                      <div class="control-group">
                                          <label class="control-label">备注</label>
                                          <div class="controls">
                                              <input type="text" require name="remark" value="">
                                              <span class="help-inline"></span>
                                          </div>
                                      </div>
                    <div class="form-actions">
                      <button type="submit" class="btn btn-success">保存</button>
                    </div>
                  </form>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="container-fluid">
        <div class="row-fluid">
          <div class="span12">
            <div class="widget-box">
              <div class="widget-title">
                <span class="icon"> <i class="icon-th"></i></span>
                <h5>当天账单列表</h5>
              </div>
                    <div class="widget-content nopadding">
                      <div class="dataTables_wrapper">
                        <table id="table" class="table table-bordered">
                    <tbody>
                      <tr class="table_header">
                        <th>序号</th>
                        <th>登记时间</th>
                        <th>型号以及处理问题</th>
                        <th>联系方式</th>
                        <th>姓名</th>
                        <th>备注</th>
                        <th>操作</th>
                      </tr>
                    </tbody>
                    <tbody>
                      <foreach name="list" item="vo" >
                        <tr>
                          <td>{$vo.serviceid}</td>
                          <td>{$vo.day|date='Y-m-d',###}</td>
                          <td>{$vo.version}</td>
                          <td>{$vo.phonenum}</td>
                          <td>{$vo.clientname}</td>
                          <td>{$vo.remark}</td>
                          <td>
                            <p class="opr">
                              <span><i class="icon-pencil"></i><a href="/User/service_edit?id={$vo.serviceid}" >编辑</a></span>
                              <span><i class="icon-pencil"></i><a href="/User/service_drop?id={$vo.serviceid}">删除</a></span>
                            </p>
                          </td>
                        </tr>
                      </foreach>
                    </tbody>
                        </table>
                      </div>
                      {$page}
                    </div>
            </div>
          </div>
        </div>
      </div>
</div>
<div class="row-fluid">
  <div id="footer" class="span12"> 2014 &copy; am项目</div>
</div>
<script src="__PUBLIC__/Matrix/js/jquery.min.js"></script> 
<script src="__PUBLIC__/Matrix/js/bootstrap.min.js"></script> 
<script src="__PUBLIC__/Matrix/js/matrix.js"></script>
</body>
</html>